﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;

namespace testXmlPath
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            XmlDocument doc = new XmlDocument();
            doc.Load("t.xml");
            XmlNode nd = doc.SelectSingleNode("//Expoint[substring(@Code, 1, 4) == \"1000\"]");
            if (nd != null)
            {
                //
            }
        }
    }
}
